<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="theme-color">
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <title>分享家</title>
    <link rel="stylesheet" type="text/css" href="../lib/css/api.css"/>
    <link rel="stylesheet" type="text/css" href="../lib/css/mui.css"/>
    <link rel="stylesheet" href="../css/util.css">
    <script src="http://at.alicdn.com/t/font_371407_7omis3wrfr7tx1or.js"></script>
</head>
<link rel="stylesheet" href="../css/my_comment.css">
<body>
<header class="fxj-header">
    <back></back>
    <h1 class="fxj-title">我的点评</h1>
</header>
<main id="main">
    <ul class="comment-group">
        <li class="comment-item line-transverse" @click="goCommentDetail(cmt.order_id)" v-for="cmt of cmtList">
            <div class="comment-content">
                <div class="title" v-cloak>{{cmt.title}}</div>
                <div class="date" v-cloak>入住时间：{{cmt.start_date}}:{{cmt.end_date}}</div>
                <div class="comment-status" v-if="role==='2'">
                    <span :class="{tips:cmt.status==='7',highlight:cmt.status!=='7'}">{{cmt.status==='7'?'我未点评':'我已点评'}}</span>
                    <span :class="{tips:cmt.status==='6',highlight:cmt.status!=='6'}">{{cmt.status==='6'?'房东未评':'房东已评'}}</span>
                </div>
                <div class="comment-status" v-else>
                    <span :class="{tips:cmt.status==='6',highlight:cmt.status!=='6'}">{{cmt.status==='6'?'我未点评':'我已点评'}}</span>
                    <span :class="{tips:cmt.status==='7',highlight:cmt.status!=='7'}">{{cmt.status==='7'?'房客未评':'房客已评'}}</span>
                </div>
            </div>
            <svg class="icon">
                <use xlink:href="#icon-you"></use>
            </svg>
        </li>
    </ul>
</main>

<script type="text/javascript" src="../lib/js/babel-polyfill.js"></script>
<script type="text/javascript" src="../lib/js/vue.js"></script>
<script type="text/javascript" src="../lib/js/mui.js"></script>
<script type="text/javascript" src="../lib/js/jquery.js"></script>
<script type="text/javascript" src="../script/util.js"></script>

<script src="../script/my_comment.js"></script>
</body>
</html>